#define _CRT_SECURE_NO_WARNINGS 1
#define N 2
#define M N + 1
#define NUM (M + 1) * M / 2
#include<stdio.h>
main() {
	printf("%d\n", NUM);
}